import {menu} from '@/api/user'


export default function builderMenuRouteInfo(item: menu): any {
	 const component = (item.menuType === 0) ? '@/layout/default-layout.vue':item.component
	 const menuData = {
		 component: () => import(component)
	 }
	 Object.assign(menuData,item)
     return menuData;
};

